
package com.hc.vo;

import java.util.List;

import com.hc.domain.Nodes;

public class NodesVo {
	
	private int id;
	/**
	 * 节点名
	 */
	private String node;
	/**
	 * 父节点id 最终节点 为0
	 */
	private int parentId;
	/**
	 * 访问路径
	 */
	private String path;
	/**
	 * 节点图标
	 */
	private String icon;
	/**
	 * 节点控制 1：存在子节点 0：不存在子节点
	 */
	private int status;
	
	private List<Nodes> nodes;

	public int getId() {
	
		return id;
	}

	public void setId(int id) {
	
		this.id = id;
	}

	public String getNode() {
	
		return node;
	}

	public void setNode(String node) {
	
		this.node = node;
	}

	public int getParentId() {
	
		return parentId;
	}

	public void setParentId(int parentId) {
	
		this.parentId = parentId;
	}

	public String getPath() {
	
		return path;
	}

	public void setPath(String path) {
	
		this.path = path;
	}

	public String getIcon() {
	
		return icon;
	}

	public void setIcon(String icon) {
	
		this.icon = icon;
	}

	public int getStatus() {
	
		return status;
	}

	public void setStatus(int status) {
	
		this.status = status;
	}

	public List<Nodes> getNodes() {
	
		return nodes;
	}

	public void setNodes(List<Nodes> nodes) {
	
		this.nodes = nodes;
	}

	@Override
	public String toString() {
		return "NodesVo [id=" + id + ", node=" + node + ", parentId=" + parentId + ", path=" + path + ", icon=" + icon
				+ ", status=" + status + ", nodes=" + nodes + "]";
	}
	

}

